import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 引入全部组件

import Vant from 'vant'
import 'vant/lib/index.css'
import { Grid, GridItem, Search, Swipe, SwipeItem, Lazyload } from 'vant'

Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Search)
Vue.use(Vant)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Lazyload)

Vue.config.productionTip = false

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
